package org.nf.shopping.mapper;

import org.apache.ibatis.annotations.Param;
import org.nf.shopping.entity.Picture;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-27
 */
public interface PictureMapper {
    List<Picture> listPicture(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    void updatePicture(Picture picture);

    void delonePicture(Integer id);

    void addPicture(Picture picture);

    List<Picture> getPictureList();
}
